const os = require('os');
module.exports = class ResultFormatError extends Error {
    constructor(json, ...args) {
        super(...args);
        this.name = 'ResultFormatError';
        this.json = json ? JSON.stringify(json) : "";
        this.message = this.message ? this.message : "未获取到正确的json格式!";
    }
};